<script setup lang="ts">
import { onMounted, onUnmounted, } from 'vue'
const props = defineProps<{
    id: number,

}>();
onMounted(()=>{
    console.log('onMount'+props.id)
})
onUnmounted(()=>{
    console.log('onUnmounted'+props.id)
})
</script>

<template>
    <div class="xx">
        {{ id }}
    </div>
</template>